package com.jintian.smart.kernel.switching.api;


import com.jintian.smart.kernel.core.expr.IExpressionCalc;

import java.io.File;
import java.io.IOException;
import java.util.Map;

public interface IExtractor {
    void setExpressionCalc(IExpressionCalc expressionCalc);

    File extract(Class<?> dataType, Object rule, String ruleName, Map<String, Object> variables) throws IOException;

    boolean support(Class<?> dataType, Class<?> ruleClass, String ruleName);
}
